package logic

import (
	"context"

	"good/good"
	"good/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

type CreateGoodLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewCreateGoodLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateGoodLogic {
	return &CreateGoodLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *CreateGoodLogic) CreateGood(in *good.CreateGoodReq) (*good.CreateGoodResp, error) {
	// todo: add your logic here and delete this line

	return &good.CreateGoodResp{}, nil
}
